--[[

        scene.lua
        exported by excel2lua.py
        from file:scene.xlsx

--]]

local _data = {
  [1] = {id = 1,name = 'GameLunch1',type = 1,},
  [2] = {id = 2,name = 'GameLunch2',type = 2,},
  [3] = {id = 3,name = 'GameLunch3',type = 2,},
  [4] = {id = 4,name = 'GameLunch4',type = 2,},
  [5] = {id = 5,name = 'GameLunch5',type = 2,},
  [6] = {id = 6,name = 'GameLunch6',type = 2,},
  [7] = {id = 7,name = 'GameLunch7',type = 2,},
  [8] = {id = 8,name = 'GameLunch8',type = 2,},
  [9] = {id = 9,name = 'GameLunch9',type = 2,},
}

local id_to_index={
   [1] = 1,
   [2] = 2,
   [3] = 3,
   [4] = 4,
   [5] = 5,
   [6] = 6,
   [7] = 7,
   [8] = 8,
   [9] = 9,
}

local scene={}

function scene.length() 
   return #_data 
end 

function scene.indexOf(index) 
   return _data[index] 
end 

function scene.get(id) 
  return scene.indexOf(id_to_index[id])
end 

return scene